package com.njtoyo.taxi.admin.mapper.master.enums;

import com.baomidou.mybatisplus.annotation.EnumValue;

public enum DriverCustomMessageEventCategory {
    ride_order(0, "行程车费"),
    cancel_order(1, "违约金"),
    peak_order_reward(2, "司机高峰接单奖励"),
    online_red_packet(3, "司机线上接单红包"),
    recommend_registration(4, "推荐注册"),
    recommend_general_activation(5, "推荐激活(激活即产生奖励，非首单需求)"),
    recommend_combine_activation(6, "推荐激活奖励(乘客完成首单有额外奖励)"),
    recommend_combine_first_order(7, "司机推荐的乘客完成首单"),
    marketing_rebate(8, "本地生活返利"),
    appointment(9, "预约单开始前提醒"),
    withdraw(10, "提现"),
    deduct(11, "平台扣钱"),
    system(12, "系统通知");

    @EnumValue
    private final int code;
    private final String desc;

    DriverCustomMessageEventCategory(int code, String desc) {
        this.code = code;
        this.desc = desc;
    }

    public int getCode() {
        return code;
    }
}
